angular.module("userapp")
.controller('profileCtrl', function($scope, $http, $location, $routeParams){

	$scope.profile = "";
	$http.post(base_url + 'index.php/user/getProfile').success(function(dat) {
		$scope.profile = dat;
		console.log(dat);
	})
});